class UrlMappings {
    static mappings = {
	    "/admin/church/$action?/$id?" (controller:"adminChurch")
        "/admin/person/$action?/$id?" (controller:"person")
        "/admin/requestmap/$action?/$id?" (controller:"requestmap")
        "/admin/authority/$action?/$id?" (controller:"authority")

        "/church/$action?/$id?" (controller:"church")

        "/login/$action?/$id?" (controller:"login")
        "/logout/$action?/$id?" (controller:"logout")
        "/register/$action?/$id?" (controller:"register")
        "/captcha/$action?/$id?" (controller:"captcha")
        "/" (view:"/index")
        "/admin" (view:'/admin')
        "500" (view:'/error')
        "404" (view:'/not_found')
	}
}
